﻿using Microsoft.Azure.Cosmos.Table;
using System;
using System.Collections.Generic;
using System.Text;

namespace ToolManager.Entities
{
    public class BusinessDataEntity : TableEntity
    {
        public BusinessDataEntity() { }
        public BusinessDataEntity(string partitionKey)
        {
            PartitionKey = partitionKey;
            RowKey = Guid.NewGuid().ToString();
        }
        //public string MRID { get; set; }
        public string StoreID { get; set; }
        public string StoreName { get; set; }
        public string MntCategory { get; set; }
        public string VendorName { get; set; }
        public int ValidDate { get; set; }
        public string MntStatus { get; set; }
        //维修质量
        public int? Score { get; set; }
        //维修速度
        public int? Score1 { get; set; }
        //服务态度
        public int? Score2 { get; set; }
        public int AddDate { get; set; }
        public int AddDateYear { get; set; }
        public int AddDateMonth { get; set; }
        public int AddDateDay { get; set; }
        public int AddDateYM { get; set; }
        public string UpdateDate { get; set; }

        public int CompleteDate { get; set; }
        public string AcceptanceDate { get; set; }
        public string ApproveDate { get; set; }
        public string TaskingDate { get; set; }
        public string ApproveFlowDate { get; set; }

        public string VendorOwnerName { get; set; }

        public string Cost { get; set; }
        public string Settlement { get; set; }
        public string FinishedTime { get; set; }
        public string OrderAddDate { get; set; }
        public string StoreIdBase { get; set; }
        public string StoreNameBase { get; set; }
        public string DomainName { get; set; }
        public string DomainTag { get; set; }
        public string DomainId { get; set; }
        public string ParentDomainId { get; set; }
        public string BrandNameCn { get; set; }
        public string TagName { get; set; }
        public string TypeName { get; set; }
        public string MntCategory2 { get; set; }
        public int Language { get; set; }
        public string CostType { get; set; }
        public string Priority { get; set; }
        public string ProblemIds { get; set; }
        public string ProblemName { get; set; }
    }
}
